<!-- 车辆详情 -->
<template>
  <div class="dashboard-container vehicle-detail">
    <el-card>
      <el-tabs
        v-model="activeName"
      >
        <el-tab-pane
          label="基本信息"
          name="basicInformation"
        >
          <vehicleInfo />
        </el-tab-pane>
        <el-tab-pane
          label="行驶证信息"
          name="truckLicense"
        >
          <vehicleDriving />
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>
<script>
import vehicleInfo from './components/vehicle-info.vue'
import vehicleDriving from './components/vehicle-driving-license.vue'
export default {
  components: {
    vehicleInfo, vehicleDriving
  },
  data() {
    return {
      activeName: 'basicInformation'
    }
  }
}
</script>

<style lang="scss" >

.el-tabs__item{
  padding-bottom:50px;
}
.el-tabs__item.is-active {
  font-weight:800;
  font-size:16px;
  color: #202338;
}
.el-tabs__active-bar {
    height: 3px;
    background-color: #ff643d;
    margin-left:20px;
}
.el-tabs__active-bar{
  width:50px;
}
.el-tabs__nav{
  padding-left:20px;
}
.el-form-item__label{
  font-weight:400;
}
.el-form-item__content{
  padding-left:15px;
}
.edit{
  padding:12px 40px;
}
.el-input__suffix-inner {
    margin-right:15px;
    color:black;
}
.img{
  width:212px;
  height:159px;
  margin-right:20px;
  border-radius:5px;
  border:1px solid #dbe0e6;
}
.el-upload-dragger{
  width:212px;
  height:159px;
}
</style>

<style lang="scss" scoped>

.active {
  color: #ff643d;
}
// ::v-deep .el-card__body {
//   padding: 20px 40px;
// }
.vehicle-detail {
  padding-left:20px;
  padding-right:20px;
  margin-bottom:55px;
  /deep/ .el-container{
    flex-direction: column;
    margin-left: 0px;

  }
  .in{
    height: calc(100vh - 205px);
    // height: 100%;
  }
  .aside-box {
    background: #ffffff;
    border-radius: 4px;
    // width: 150px;
    padding: 24px 37px 24px 37px;
    box-sizing: border-box;

    // min-height: calc(100vh - 50px);
    /deep/ .el-aside {
      padding-bottom: 14px;
      width: 100%!important;
      display: flex;
      background-color: #ffffff;
      border-bottom:1px solid #E5E7EC ;
      text-align: left;
      font-size: 14px;
      .aside-item {
        // margin-top: 38px;
        cursor: pointer;
        &:first-child {
          margin-right: 53px;
          padding-left: 25px;

        }
      }
      .aside-item.active{
        font-size: 16px;
        font-weight: bold;
        color: #20232A;
        &:after{
          content: '';
          display: block;
          background-color:#E15536 ;
          height: 3px;
          width: 49px;
          margin: 0 auto;
          position: relative;
          top: 14px;
        }
      }
    }
  }
}
</style>
